﻿using MediatR;
using TaskProject.ErrorCode;

namespace TaskProject.Application.Command.Production
{
    public class AddProductionItemCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string Classify { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime PlanStart { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime PlanEnd { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public int PlanNum { get; set; }
        
    }
}
